﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Write.API.Application.Commands.MaterialLists
{
    /// <summary>
    /// 物料修改命令
    /// </summary>
    public class MaterListUpdateCommand:IRequest<APIResult<object>>
    {
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料清单编号
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料清单版本
        /// </summary>
        public string MaterialVersion { get; set; }

        /// <summary>
        /// 物料选择
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 库存成本
        /// </summary>

        public string MaterCost { get; set; }

        /// <summary>
        /// 物料描述
        /// </summary>
        public string MaterialDescription { get; set; }
        /// <summary>
        /// 物料单位
        /// </summary>

        public string MaterialUnit { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public string MaterialRule { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>

        public string MakeListPerson { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>

        public string MakerListDeaprt { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool IsStatus { get; set; }
    }
}
